package sort;

/**
 * @author zerorain
 * @date 2022/03/18 13:50
 **/
public class SortTest {
    public static void main(String[] args) {
        int n = 1000;
        int[] arr = SortHelper.generateRandomArray(n,0,Integer.MAX_VALUE);
        int[] arrCopy1 = SortHelper.arrCopy(arr);
        int[] arrCopy2 = SortHelper.arrCopy(arr);
        SortHelper.testSort("mergeSortNonRecursion",arrCopy1);
        SortHelper.testSort("selectionSortOP",arrCopy2);
        SortHelper.testSort("heapSort",arrCopy1);
    }

}